<%-- 
    Document   : FormEditAlumno
    Created on : 12-jun-2012, 8:48:52
    Author     : Alumno
--%>

<%@page import="upeu.edu.to.AlumnoTo"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <%
        AlumnoTo to = null;
        to = (AlumnoTo) request.getSession().getAttribute("listaAlumnoById");
    %> 
    <body>
        <form name="Form Alumno" method="post" action="../../../AlumnoControl">
            <table border="1">
                <thead>
                    <tr>
                        <th colspan="4">Formulario Actualizar Alumno</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>Nombre:</td>
                        <td><input type="text" name="nombre" value="<%=to.getNombres()%>" /></td>
                    </tr>
                    <tr>
                        <td>Apellidos Paterno:</td>
                        <td><input type="text" name="appat" value="<%=to.getAppat()%>" /></td>
                    </tr>
                    <tr>
                        <td>Apellidos Materno:</td>
                        <td><input type="text" name="apmat" value="<%=to.getAppat()%>" /></td>
                    </tr>          
                    <tr>
                        <td>Teléfono</td>
                        <td><input type="text" name="telefono" value="<%=to.getTelefono()%>" /></td>
                    </tr>
                    <tr>
                        <td>Direccion</td>
                        <td><input type="text" name="direccion" value="<%=to.getDireccion()%>" /></td>
                    </tr>
                    <tr>
                        <td>EAP</td>
                        <td><input type="text" name="eap" value="<%=to.getEap()%>"/></td>
                    </tr>
                    <tr>
                        <td colspan="2"> 
                            <input type="hidden" name="opt" value="A"/>    
                            <input type="submit" value="Actualizar" name="actualizar" />
                            <input type="button" value="Cancelar" name="cancelar" onclick="ocultarFormInsert()" />
                        </td>
                    </tr>
                </tbody>
            </table>
        </form>
    </body>
</html>
